// // 机构管理
import zhengceguanli from '@/view/jigouguanli/index.vue'
// // 风采展示
import loginPeopl from '@/view/fengcaizhanshi/index.vue'
// // 招聘管理
import residentManagement from '@/view/residentManagement/index.vue'
// // 就业人员
import peopleManagement from '@/view/peopleManagement/index.vue'
// // 工作台
import home from '@/view/home/index.vue'
import Main from '@/components/main'

export const asyncRoutes = [
  {
    path: '/home',
    component: Main,
    name: 'home',
    hideInMenu: true,
    meta: { title: '工作台', hideInMenu: true},
    children: [{
      path: 'home',
      name: 'home',
      meta: { title: '工作台', hideInMenu: true, notCache: true, },
      component: () => import('@/view/single-page/home'),
      
    }]
  },
  {
    path: '/peopleManagement',
    component: Main,
    name: 'jiuyerenyuan',
    hideInMenu: true,
    meta: { title: '就业人员', hideInMenu: true },
    children: [{
      path: 'peopleManagement',
      name: 'jiuyerenyuan',
      meta: { title: '就业人员', hideInMenu: true, notCache: true, },
      component: () => import('@/view/peopleManagement/index.vue'),
    }]
  },
  {
    path: '/zhengceguanli',
    component: Main,
    name: 'peixunjigou',
    hideInMenu: true,
    meta: { title: '培训机构', hideInMenu: true },
    children: [{
      path: 'zhengceguanli',
      name: 'peixunjigou',
      meta: { title: '培训机构', hideInMenu: true, notCache: true, },
      component: () => import('@/view/jigouguanli/index.vue'),
      
    }]
  },
  {
    path: '/qiyexinxi',
    component: Main,
    hideInMenu: true,
    name: 'qiyexinxi',
    meta: { title: '企业信息', hideInMenu: true },
    children: [{
      path: 'qiyexinxi',
      name: 'qiyexinxi',
      meta: { title: '企业信息', hideInMenu: true, notCache: true, },
      component: () => import('@/view/qiyexinxi/qiyexinxi.vue'),
      
    }]
  },
  {
    path: '/loginPeople',
    component: Main,
    hideInMenu: true,
    name: 'xinwendongtai',
    meta: { title: '新闻动态', hideInMenu: true },
    children: [{
      path: 'loginPeople',
      name: 'xinwendongtai',
      meta: { title: '新闻动态', hideInMenu: true, notCache: true, },
      component: () => import('@/view/policyManagement/policyManagement.vue'),
    }]
  },
  {
    path: '/chuangyedanbaodaikuan',
    component: Main,
    hideInMenu: true,
    name: 'chuangyedanbaodaikuan',
    meta: { title: '创业担保贷款', hideInMenu: true },
    children: [{
      path: 'chuangyedanbaodaikuan',
      name: 'chuangyedanbaodaikuan',
      meta: { title: '创业担保贷款', hideInMenu: true, notCache: true, },
      component: () => import('@/view/chuangyedanbaodaikuan/chuangyedanbaodaikuan.vue'),
      
    }]
  },
  {
    path: '/tongjiguanli',
    component: Main,
    name: 'tongjifenxi',
    meta: { title: '统计分析', hideInMenu: true },
    hideInMenu: true,
    children: [{
      path: 'tongjiguanli',
      name: 'tongjifenxi',
      meta: { title: '统计分析', hideInMenu: true, notCache: true, },
      component: () => import('@/view/tongjiguanli/index.vue'),
      
    }]
  },
  {
    path: '/xitongshezhi',
    component: Main,
    hideInMenu: true,
    name: 'yonghuguanli',
    meta: { title: '用户管理', hideInMenu: true },
    children: [{
      path: 'xitongshezhi',
      name: 'yonghuguanli',
      meta: { title: '用户管理', hideInMenu: true, notCache: true, },
      component: () => import('@/view/secondMenu/secondMenuIndex.vue'),
      
    }]
  },
  {
    path: '/liuyanguanli',
    component: Main,
    hideInMenu: true,
    name: 'liuyanguanli',
    meta: { title: '留言管理', hideInMenu: true },
    children: [{
      path: 'liuyanguanli',
      name: 'liuyanguanli',
      meta: { title: '留言管理', hideInMenu: true, notCache: true, },
      component: () => import('@/view/liuyanguanli/liuyanguanli.vue'),
      
    }]
  },
  {
    path: '/residentManagement',
    component: Main,
    name: 'residentManagement',
    meta: { title: '招聘管理', hideInMenu: true },
    hideInMenu: true,
    children: [{
      path: 'residentManagement',
      name: 'residentManagement',
      meta: { title: '招聘管理', hideInMenu: true, notCache: true, },
      component: () => import('@/view/residentManagement/index.vue'),
      
    }]
  },
  
  
  
  {
    path: '/tongxunluguanli',
    component: Main,
    name: 'tongxunluguanli',
    hideInMenu: true,
    meta: { title: '就业人员', hideInMenu: true },
    children: [{
      path: 'tongxunluguanli',
      name: 'tongxunluguanli',
      meta: { title: '就业人员', hideInMenu: true, notCache: true, },
      component: () => import('@/view/setUp/index'),
     
    }]
  },
]